
/*****************************************************************************
 *
 * 作   者: 伍建平 * 创建时间: 2022/11/29 15:05:32 *
 * Copyright (C) 2008 - 鹏业软件公司
 *
 *****************************************************************************/

import {DataPacket, NorDataList} from 'pengesoft-ng-lib';
import {TimeMapList} from './timemaplist.domain';

/**
 * 
 */
export class ApplyTime extends DataPacket {
  Key: string; // key
  Value: TimeMapList; // value

  constructor(options: Partial<ApplyTime> = {}) {
    super();
    this.Key = options.Key || '';
    this.Value = new TimeMapList(options?.Value || {});
  }
}

/**
 * 列表
 */
export class ApplyTimeList extends NorDataList<ApplyTime> {

  constructor(options: Partial<ApplyTimeList> | Array<ApplyTime> = {}) {
    super(options, ApplyTime);
  }
}

